<?
	$cRetUrl = getParam('retUrl', 'back' );
	$cAction = '?ac=login&amp;rf=action&amp;fn=login&amp;mo=clientes&amp;retUrl=' . $cRetUrl;
	$oInputEmail = new InputText('', 'cEmail');
	$oInputEmail->setMandatory();
	$oInputEmail->setOnBlur('send("?ac=login&amp;mo=clientes&amp;fn=verifyEmail&amp;cEmail=" + this.value , refreshElement, "mensaje_login");');

	$oInputClave = new InputText('', 'cClave');
	$oInputClave->setMandatory();
	$oInputClave->setPassword();
?>
<div style="padding:20px;">
	<h2><?= mostrar_termino('LBL_Ingresa')?></h2>
	<div>
		<form action='javascript://void(0);' name='frmMisDatos' id='frmMisDatos' onsubmit='javascript: if ( checkForm( this) ) { sendForm( "<?=$cAction?>", "frmMisDatos", refreshElement, "body", false  ); } return false;' method='post'>
			<div class="label"><label for="cEmail"><?= mostrar_termino('LBL_Email')?></label></div>
			<div><?=$oInputEmail->make();?></div>
			<div class="label"><label  for="cClave"><?= mostrar_termino('LBL_Clave')?></label></div>
			<div><?=$oInputClave->make();?></div>
			<div class="label"><div class='div_boton90' style="margin-top:4px"><a style='color:#ffffff;' onclick='if ( checkForm(this) ) { sendForm( "<?=$cAction?>", "frmMisDatos", refreshElement, "body", false  ); send( "?mo=recorridos&amp;ac=atractivo_comentarios&amp;rf=action&amp;op=mando_comentario" , refreshElement, "nuevo_comentario"); } ; return false;' href='javascript://void(0);'><?= strtolower(mostrar_termino( 'LBL_Aceptar' )) ?></a></div>
		</form>
	</div>

	<div class="mensaje_ayuda" id='mensaje_login'/></div>
</div>

